import os
from twisted.application import service, internet
from twisted.web import static, xmlrpc, resource, server
import pam

class RPC(xmlrpc.XMLRPC):
	"""An example object to be published."""
	
	def xmlrpc_authenticate(self, user,password):
		return pam.authenticate(user,password)

